package com.yugao.fintech.draper.scheduled.convert;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yugao.fintech.draper.scheduled.dto.QuartzJobLogDTO;
import com.yugao.fintech.draper.scheduled.entity.QuartzJobLog;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface QuartzJobLogConvert {

	QuartzJobLogConvert INSTANCE = Mappers.getMapper(QuartzJobLogConvert.class);

	QuartzJobLog convert(QuartzJobLogDTO quartzJobLogDto);

	QuartzJobLogDTO convert(QuartzJobLog quartzJobLog);

	Page<QuartzJobLogDTO> convertPage(Page<QuartzJobLog> page);

}
